<label>Имя</label><input type="text" name="user_nickname" value="<?php print (isset($args['data']['user_nickname'])?$args['data']['user_nickname']:"")?>">
<span class="help-inline"><?php (isset($args['errors']['user_nickname'])?print $args['errors']['user_nickname']:"")?></span>
<label>E-mail</label><input type="text" name="user_email" value="<?php print (isset($args['data']['user_email'])?$args['data']['user_email']:"")?>">
<span class="help-inline"><?php (isset($args['errors']['user_email'])?print $args['errors']['user_email']:"")?></span>
<label>Дата рождения</label>
<select name="bdate_day">
    <option value="0">День</option>
    <?php for ($i = 1; $i<=31; $i++):?>
    <option value="<?php print $i; ?>"<?php print (isset($args['data']['bdate_day']) && $args['data']['bdate_day'] == $i? " selected":"");?>><?php print $i; ?></option>
    <?php endfor; ?>
</select>
<select name="bdate_mounth">
    <option value="0">Месяц</option>
    <?php for ($i = 1; $i<=12; $i++):?>
    <option value="<?php print $i; ?>"<?php print (isset($args['data']['bdate_mounth']) && $args['data']['bdate_mounth'] == $i? " selected":"");?>><?php print $i; ?></option>
    <?php endfor; ?>
</select>
<select name="bdate_year">
    <option value="0">Год</option>
    <?php for ($i = $args['current_year']; $i>=1930; $i--):?>
    <option value="<?php print $i; ?>"<?php print (isset($args['data']['bdate_year']) && $args['data']['bdate_year'] == $i? " selected":"");?>><?php print $i; ?></option>
    <?php endfor; ?>
</select>
<span class="help-inline"><?php (isset($args['errors']['bdate'])?print $args['errors']['bdate']:"")?></span>
<label>Страна</label>
<select name="country">
    <?php foreach ($args['countries'] as $key => $value): ?>
        <option value="<?php print $key; ?>"<?php print (isset($args['data']['country']) && $args['data']['country'] == $key? " selected":"");?>><?php print $value; ?></option>
    <?php endforeach; ?>
</select>
<label>Город</label>
<input type="text" name="city" value="<?php print (isset($args['data']['city'])?$args['data']['city']:"")?>">
<span class="help-inline"><?php (isset($args['errors']['city'])?print $args['errors']['city']:"")?></span>
<label>Пол</label>
<select name="sex">
   <option value="0"<?php print (!isset($args['data']['sex']) || isset($args['data']['sex']) && $args['data']['sex'] == 0? " selected":"");?>>Мужской</option>
   <option value="1"<?php print (isset($args['data']['sex']) && $args['data']['sex'] == 1? " selected":"");?>>Женский</option>
</select>
<span class="help-inline"><?php (isset($args['errors']['sex'])?print $args['errors']['sex']:"")?></span>
<label>WMID</label><input type="text" name="wmid" value="<?php print (isset($args['data']['wmid'])?$args['data']['wmid']:"")?>">
<span class="help-inline"><?php (isset($args['errors']['wmid'])?print $args['errors']['wmid']:"")?></span>
<label>WM кошелек</label><input type="text" name="wm_pouch" value="<?php print (isset($args['data']['wm_pouch'])?$args['data']['wm_pouch']:"")?>">
<span class="help-inline"><?php (isset($args['errors']['wm_pouch'])?print $args['errors']['wm_pouch']:"")?></span>
<label>Получать уведомления</label>
<input type="checkbox" name="get_notifies" value="1"<?php print (isset($args['data']['get_notifies']) && $args['data']['get_notifies'] == 1? " checked":"");?>>
<span class="help-inline"><?php (isset($args['errors']['get_notifies'])?print $args['errors']['get_notifies']:"")?></span>
<label>Подписка на новые задания</label>
<input type="checkbox" name="get_newtasks" value="1"<?php print (isset($args['data']['get_newtasks']) && $args['data']['get_newtasks'] == 1? " checked":"");?>>
<span class="help-inline"><?php (isset($args['errors']['get_newtasks'])?print $args['errors']['get_newtasks']:"")?></span>




